﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="receive_manage.aspx.cs" Inherits="AnyOffice.general.mobile.receive_manage" %>

<%@Register TagPrefix="Webdiver" Namespace="Webdiver" Assembly="AspnetPager" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>接收短信查询</title>
		
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script>
function delete_sms(mobile_id)
{
 msg='确认要删除该手机短信么？';
 if(window.confirm(msg))
 {
  URL="receive_delete.aspx?mobile_id=" + mobile_id + "&page=<%=ViewState["CurrentPage"]%>";
  window.location=URL;
 }
}
</script>
	</HEAD>
	<body class="bodycolor" topmargin="5">
		<form id="Form1" method="post" runat="server">
			<table class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
				<tr>
					<td class="Big" width="40%"><img src="/images/menu/mobile.gif" WIDTH="20" HEIGHT="20" align="absmiddle"><span class="big3">
							接收短信查询</span></td>
					<td width="20%">
						<asp:Literal id="litNavCount" runat="server"></asp:Literal>
					</td>
					<td width="40%">
						<asp:Literal id="litNavPager" runat="server"></asp:Literal>
					</td>
				</tr>
			</table>			
			<asp:panel id="pnlMain" runat="server">
			<BR>
				<asp:Repeater id="rptMobile" runat="server">
					<HeaderTemplate>
						<table id="beSortTable" border="0" cellspacing="1" width="100%" class="small" bgcolor="#000000"
							cellpadding="3">
							<tr class="TableHeader">								
								<td nowrap align="center">发信人</td>
								<td nowrap align="center">手机号码</td>
								<td nowrap align="center">内容</td>
								<td nowrap align="center">发送时间</td>								
								<td nowrap align="center">操作</td>
							</tr>
					</HeaderTemplate>
					<ItemTemplate>
						<tr class="TableLine1">
							<td nowrap align="center"><u title="部门：<%#Eval("DeptName")%>" style="CURSOR:hand"><%#Eval("UserName")%></td>							
							<td nowrap align="center"><%#Eval("Phone")%></td>
							<td><%#Eval("Content")%></td>
							<td nowrap align="center"><%#Eval("SendTime")%></td>
							<td nowrap align="center">
								<a href="javascript:delete_sms(<%#Eval("MobileId")%>);">删除</a>
							</td>
						</tr>
					</ItemTemplate>
					<AlternatingItemTemplate>
						<tr class="TableLine2">
							<td nowrap align="center"><u title="部门：<%#Eval("DeptName")%>" style="CURSOR:hand"><%#Eval("UserName")%></td>							
							<td nowrap align="center"><%#Eval("Phone")%></td>
							<td><%#Eval("Content")%></td>
							<td nowrap align="center"><%#Eval("SendTime")%></td>
							<td nowrap align="center">
								<a href="javascript:delete_sms(<%#Eval("MobileId")%>);">删除</a>
							</td>
						</tr>
					</AlternatingItemTemplate>
					<FooterTemplate>
						</table>
					</FooterTemplate>
				</asp:Repeater>
				<TABLE width="100%" border="0">
					<TR>
						<TD>
							<Webdiver:AspNetPager id="AspNetPager1" runat="server" CssClass="small1" InputBoxClass="SmallInput" SubmitButtonClass="SmallButton"
								Font-Size="10pt" OnPageChanged="ChangePage" HorizontalAlign="Right" ShowCustomInfoSection="left" ShowInputBox="Always"
								SubmitButtonText="转到" NumericButtonTextFormatString="[{0}]" UrlPaging="True" CustomInfoSectionWidth="35%"
								PagingButtonSpacing="0" ImagePath="../images" ButtonImageNameExtension="n" CpiButtonImageNameExtension="r"
								DisabledButtonImageNameExtension="g" PageSize="10" AlwaysShow="True"></Webdiver:AspNetPager></TD>
					</TR>
				</TABLE>
			</asp:panel><asp:literal id="litMessage" runat="server"></asp:literal>
		</form>
	</body>
</HTML>

